package com.eight.travel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eight.travel.pojo.FoodMp;
import com.eight.travel.pojo.Foodcomment;
import com.eight.travel.utils.BaseResp;

public interface FoodService extends IService<FoodMp> {
    BaseResp findAllFood();
    BaseResp findrestByFid(int fid);
    BaseResp findByHot(int page,int size);
    BaseResp findByPrice(int page,int size);
    BaseResp findByName(String foodname);
    BaseResp findByPage(int page,int size);
    BaseResp addHot(int fid);
    BaseResp reduceHot(int fid);
    BaseResp findByStatus();
    BaseResp addcomment(Foodcomment foodcomment);
    BaseResp findconmmentByFaid(int faid);
    BaseResp findcomment();
    BaseResp findrestone(int faid);
    BaseResp findAllrest();
}
